//
//  DetailTableViewCell.m
//  Gegeda_music_MY
//
//  Created by lanou3g on 15/11/10.
//  Copyright © 2015年 周莹. All rights reserved.
//

#import "DetailTableViewCell.h"
#import "DetailModel.h"


@implementation DetailTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setCellDataWithModel:(DetailModel *)model{
    self.titleLabel.text = model.title;
    self.playTimes.text = [NSString stringWithFormat:@"%@", model.playtimes];
    self.likeLabel.text = [NSString stringWithFormat:@"%@", model.likes];
    self.comments.text = [NSString stringWithFormat:@"%@", model.comments];
    
}

@end
